﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Vision.Abstractions.Processing
{
    /// <summary>
    /// 图像处理器接口
    /// </summary>
    public interface IImageProcessor
    {
        /// <summary>
        /// 处理图像帧
        /// </summary>
        /// <param name="frame">输入的相机帧</param>
        /// <param name="binaryThreshold">二值化阈值</param>
        /// <param name="edgeThreshold">边缘检测阈值</param>
        /// <returns>处理后的图像帧</returns>
        CameraFrameMessage ProcessFrame(CameraFrameMessage frame, double binaryThreshold, double edgeThreshold);
    }
}
